package oo.Day04.nigthText;

public class Doctor extends person{
    String level;

    Doctor(String name,int age,String address,String level){
       super(name,age,address);
       this.level = level;
    }
    void sayHi(){
        System.out.println("我的名字是："+name+",今年："+age+"岁了，"
                +"我来自"+address+"我的职称是："+level);

    }
}
